#define _CRT_SECURE_NO_WARNINGS

#include"Queue.h"

void test1()
{
	Queue pq;
	QueueInit(&pq);
	QueueInsert(&pq, 1);
	QueueInsert(&pq, 2);
	printf("%d ", QueueFront(&pq));
	QueueErase(&pq);
	printf("%d ", QueueFront(&pq));
	QueueErase(&pq);
	QueueInsert(&pq, 3);
	QueueInsert(&pq, 4);





	while (!QueueEmpty(&pq))
	{
		printf("%d ",QueueFront(&pq));
		QueueErase(&pq);
	}
}






int main()
{
	test1();
}